home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls036.1.Z / tls036.1 / usr / man / cat.SMT / docut.SMT.z / docut.SMT
Encoding:
Text File  |  1992-09-15  |  6.7 KB  |  181 lines

  1.  
  2.  
  3.  docut(SMT)                           .                            docut(SMT)
  4.  
  5.  
  6.  
  7.  _N_a_m_e
  8.  
  9.     docut - create an application distribution
  10.  
  11.  _S_y_n_t_a_x
  12.  
  13.     ddooccuutt  [--cc] [--SS] [--ee_ffff_llll_aaaa_gggg] [--ii] [--ss] [--uu] [--ff _vvvv_aaaa_rrrr_ssss______ffff_iiii_llll_eeee] [--pp _pppp_kkkk_gggg_dddd_iiii_rrrr] [--oo
  14.     _mmmm_kkkk_pppp_eeee_rrrr_mmmm______oooo_uuuu_tttt_ffff_iiii_llll_eeee] [--OO _mmmm_kkkk_pppp_eeee_rrrr_mmmm______dddd_iiii_ssss_tttt_dddd_iiii_rrrr] [--DD _mmmm_kkkk_pppp_eeee_rrrr_mmmm______dddd_iiii_rrrr_ffff_iiii_llll_eeee]
  15.  
  16.  _O_p_t_i_o_n_s
  17.  
  18.  
  19.     --cc       compresses the files in the distribution.  ddooccuutt also passes
  20.              this option to mmkkccuuttss.
  21.  
  22.     --CC       disables check for symbolic links
  23.  
  24.     --ee       erases files specified by _ffff_llll_aaaa_gggg. _ffff_llll_aaaa_gggg is a combination of any of
  25.              the following:
  26.  
  27.              aa    erases administrative files such as images and sums files
  28.  
  29.              cc    erases the CCDDIISSTT directory, which contains compressed dis-
  30.                   tribution files
  31.  
  32.              dd    erases the _d_i_s_t directory, which contains the uncompressed
  33.                   distribution files
  34.  
  35.              pp    erases the _m_i_s_c directory, which contains package descrip-
  36.                   tions previously entered (with the --pp option) and starts
  37.                   from scratch
  38.  
  39.     --ff       specifies a file that ddooccuutt sources to set the required environ-
  40.              ment variables.  If the --ff option is not given, docut tries to
  41.              source the file ./_s_i_t_e__v_a_r_i_a_b_l_e_s by default.
  42.  
  43.     --pp       cuts a distribution that is in multiple packages.  It is
  44.              included for backwards compatibility with the Product Engineer-
  45.              ing Toolkit (PET).
  46.  
  47.     --SS       distribution contains files to be serialized
  48.  
  49.     --oo, --OO, --DD
  50.              options that ddooccuutt passes to mmkkppeerrmm.  For details on these
  51.              options, see the mmkkppeerrmm(SMT) manual page.
  52.  
  53.     --ii, --ss   options that ddooccuutt passes to mmkkccuuttss.  For details, see the
  54.              mmkkccuuttss(SMT) manual page.
  55.  
  56.     --uu       display command line usage, then quit
  57.  
  58.  
  59.  _D_e_s_c_r_i_p_t_i_o_n
  60.  
  61.     The ddooccuutt utility provides an interactive method of cutting an applica-
  62.     tion distribution. ddooccuutt first reads information about the product from
  63.     the file specified with the --ff option (or from the default file,
  64.     ./_s_i_t_e__v_a_r_i_a_b_l_e_s).  It uses mmkkppeerrmm(SMT) to create a permlist for the
  65.     product, and constructs a distribution tree containing all the files in
  66.     the product.  It then uses mmkkccuuttss(SMT) to transfer the distribution tree
  67.     to the media, compressing the files if requested (with the --cc option).
  68.  
  69.     A simple use of ddooccuutt is as follows:  Copy all distribution files with
  70.     the ttaarr(C) utility into a new directory, for example, one named ./_s_o_u_r_c_e.
  71.     (The ./_m_i_s_c, ./_d_i_s_t and ./_c_d_i_s_t directories are reserved names that can-
  72.     not be used.)
  73.  
  74.     Copy the file /_u_s_r/_l_i_b/_s_c_o_s_m_t/_s_i_t_e__v_a_r_i_a_b_l_e_s into the current directory.
  75.     Edit it to set the variables in it to the correct values for your prod-
  76.     uct.  If you rename this file, use the --ff option to give ddooccuutt its name.
  77.     The following values are required.
  78.  
  79.     PPRROODDPPRRDD          _pppp_rrrr_dddd code for the product (_pppp_rrrr_dddd= field in permlist)
  80.  
  81.     PPRROODDSSEETT          full name of the product (_ssss_eeee_tttt= field in permlist)
  82.  
  83.     PPRROODDTTYYPP          system type of product (_tttt_yyyy_pppp= field in permlist)
  84.  
  85.     PPRROODDRREELL          release number of product (_rrrr_eeee_llll= field in permlist)
  86.  
  87.     BBAASSEEPPAACCKKDDIIRR      directory under which the product's files are located,
  88.                      for example, ./_s_o_u_r_c_e above
  89.  
  90.     BBAASSEEPPAACCKKNNAAMMEE     name of the main package in the product
  91.  
  92.     BBAASSEEPPAACCKKDDEESSCC     short description of the package
  93.  
  94.     DDEEVVIICCEE           device name for archiving distribution
  95.  
  96.     FFOORRMMAATT           complete command needed to format a volume
  97.  
  98.     VVOOLLSSIIZZEE          size of each distribution volume
  99.  
  100.     BBLLOOCCKKIINNGG         blocking factor, if required
  101.  
  102.     Execute ddooccuutt.  First, ddooccuutt invokes mmkkppeerrmm.  If the defaults are used, a
  103.     permlist is created in ./_d_i_s_t/_t_m_p/_p_e_r_m_s and an image of your distribution
  104.     hierarchy is created using links to the ./_d_i_s_t directory.
  105.  
  106.     Next, ddooccuutt invokes mmkkccuuttss on the ./_d_i_s_t hierarchy to allocate files to
  107.     volumes and to transfer the product files to the distribution media.  If
  108.     you wish to inspect or edit the permlist, selecting Abort when prompted
  109.     to insert the media will exit without writing to the media; selecting
  110.     Continue will proceed to write out the product to the media.
  111.  
  112.     If you selected Abort, either ddooccuutt or mmkkccuuttss may be invoked again to
  113.     complete cutting the product once you have finished making any changes to
  114.     the permlist.
  115.  
  116.     The --cc flag is passed to mkcuts, which then creates a compressed hierar-
  117.     chy ./_c_d_i_s_t from which the distribution is cut.  (Note that the ./_d_i_s_t
  118.     directory is still created and used as an intermediate step in this pro-
  119.     cess.)  The variable NNOOCCOOMMPPRREESSSS in the variables file may be set to list
  120.     packages that are not to have their files compressed.  If NNOOCCOOMMPPRREESSSS is
  121.     blank or unset, the default action of the --cc option is to compress all
  122.     files in the product except the permlist.
  123.  
  124.  _F_i_l_e_s
  125.  
  126.  
  127.     /_u_s_r/_b_i_n/_m_k_p_e_r_m
  128.     ./_m_i_s_c/_p_k_g._d_a_t_a
  129.     ./_m_i_s_c/_p_a_r_t_p_e_r_m_s
  130.     ./_m_i_s_c/_e_x_t_r_a_f_i_l_e_s
  131.  
  132.  
  133.  _S_e_e _a_l_s_o
  134.  
  135.     ffiixxppeerrmm(ADM), mmkkccuuttss(SMT), mmkkppeerrmm(SMT), ttaarr(C)
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.